﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CenterNewsChildItem.ascx.cs"
    Inherits="Controls_CenterNewsChildItem" %>
<div class="category">
    <h3 class="title <%=CssClass %>">
        <%--brown--%>
        <a href="<%=UrlBuilder.GetCategory(TermTaxonomyTextId) %>">
            <asp:Literal ID="LiteralTitle" runat="server"></asp:Literal></a></h3>
    <div class="categoryContent">
        <asp:Repeater ID="rpt" runat="server">
            <ItemTemplate>
                <a title="<%#Eval("Title") %>" rel="bookmark" href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString()) %>">
                    <img width="180" height="85" alt="<%#Eval("Title") %>" src="<%#UrlBuilder.GetImage(Eval("ImageUrl").ToString(),180,85,true) %>"></a>
                <h2>
                    <a title="<%#Eval("Title") %>" href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString()) %>">
                        <%#Eval("Title") %></a></h2>
                <p>
                    <%#FormatString.SplitString( Eval("Summary"),100) %></p>
            </ItemTemplate>
        </asp:Repeater>
        <ul class="postsMore">
            <asp:Repeater ID="rpt2" runat="server">
                <ItemTemplate>
                    <li><a title=" <%#Eval("Title") %>" href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString()) %>">
                        <%#Eval("Title") %></a></li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    <div class="cleaner">
        &nbsp;</div>
</div>
